<?php
// 本类由系统自动生成，仅供测试用途
class IndexAction extends Action {
	private $_uid = '';
	public function _initialize(){
		$this->_uid = session('uid');
		if(!$this->_uid) {
			$this->redirect("Public/login");//(503,"对不起，您登录超时了，请重新登录！",1);
		}
		//B('Authenticate', $action);
	}
    public function index(){

		$this->display();
    } 
}